/**
 * 请求封装：导入、基地址、拦截器、导出   =>到入口文件引入
 */ 

import http from 'wechat-http'


http.baseURL = 'https://live-api.itheima.net'
http.intercept.response = function (res) { 
  return res.data
}
export default http 
wx.http = http